@keyframes wiggleanim {
    0%, 100% {rotate:-3deg; scale: 100%;}
    25%, 75% {scale: 120%;}
    50% {rotate:3deg; scale: 100%;}
}


.discordbutton{
color: #ffffff;
text-shadow: 
0 0 5px #6bb3ff,
0 0 10px #3295ff,
0 0 20px #1787ff,
0 0 30px #0059ff
;
animation: wiggleanim 1s infinite cubic-bezier(0.5, 0, 0.5, 1);
position:relative;
display: inline-block;
}

button:hover .discordbutton{
    color: yellow;
    text-shadow: 
    0 0 5px rgba(255, 255, 0, 0.5),
    0 0 10px rgba(255, 255, 0, 0.5),
    0 0 20px rgba(255, 255, 0, 0.5),
    0 0 30px rgba(255, 255, 0, 0.5)
    ;
}

button:active .discordbutton{
    color: rgb(255, 255, 255);
    text-shadow: 
    0 0 5px white,
    0 0 10px white,
    0 0 20px white,
    0 0 30px white
    ;
}

.aboutpage{
    justify-content: space-between;
}

select{
    background-color: black;
    min-width: 60px;
    font-size: large;
    color: white;
    padding: 10px;
    border: none;
    overflow: hidden;
    font-weight: bold;
    margin-top: 5px;
    margin-bottom: 22.5px;
    margin-left: 7px;
    -webkit-appearance: none;
    appearance: none;
    border-radius: 0;
    text-align: left;
    pointer-events: auto;
}

select:hover{
    color: yellow;
    outline-color: yellow;
}

.mattnselect:has(select:hover)::after{
    border-color: yellow;
}

.mattnselect{
    pointer-events: none;
}

.mattnselect::after{
    content: '';
    border-bottom: 2px solid white;
    border-right: 2px solid white;
    z-index: 1;
    width:6.5px;
    height:6.5px;
    position: absolute;
    left: 93px;
    top: 27%;
    transform:rotate(45deg);
    pointer-events: none;
}




body{
    background-image:url('images/MattN BG.jpg');
    background-size:cover;
    background-attachment:fixed;
    background-position: center;
    font-family: sans-serif;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000000;
    height: 100vh;
    margin:0;
}

.content{
    display: flex;
    align-content: center;
    justify-content:flex-start;
    width: 1200px;
    height: 525px;
    flex-direction: column;
    flex-wrap:wrap;
    margin:0;
}

aside {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 5px;
}

main{
    background-color: black;
    line-height: 1.5;
    text-align: center;
    align-items: center;
    padding: 25px;
    height: 475px;
    width: 700px;
    overflow:hidden;
    order: 1;
    margin: 10px;
    margin-left: 20px;
    margin-bottom: 5px;
}

a {
    color: yellow;
    font-weight: bold;
    text-decoration: none;
}

ul{
    list-style-type:none;
    padding: 0;
    margin: 0px;
}

h1{
    line-height: 35px;
    text-align: left;
    margin-bottom: 5px;
    margin-top: 0px;
}

h2{
    font-size:larger; 
    font-weight: bold; 
    margin-top: 7px; 
    margin-bottom: 7px;
    text-align: left;
}

button, .buybutton{
    background-color: black;
    min-width: 300px;
    font-size: large;
    color: white;
    padding: 10px;
    border: none;
    overflow: hidden;
    font-weight: bold;
    margin-top: 7px;
    width: 100%;
}


button:hover{
    color: yellow;
    outline-color: yellow;
    cursor:pointer;
}

button:active{
    cursor:pointer;
    color: white;
}

.highlight{
    color: yellow;
}

button:active .highlight{
    color:white;
}

.socials{
    display: flex;
    justify-content:space-evenly;
    flex-direction: row;
margin-top: 10px;
margin-bottom: 5px;
align-items: center;
width: 100%;
max-width: 300px;
filter: drop-shadow(0px 0px 10px #00000040);
}

.socialbutton:hover
{
scale: 110%;
}

.socialbutton:active{
scale: 95%;
transition: 0.05s
}

.socialbutton{
transition: .1s cubic-bezier(0.5, 0, 0.5, 1);
}

p{
    margin-bottom: 20px;
line-height: 25px;}

.videocontainer{
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    position: relative;
    margin-top: 1.5%;
}

iframe{
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
}

main, button, button:active, .videocontainer, iframe, select, .propagandagrid img, .productimage, .productimagepickerthumbnail, .propagandaposter img{
    outline-style: solid;
    outline-color: white;
    outline-width: 1.5px;
}

.workentryvideocontainer{
    flex: 1;
}

.workentrycaption{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;    
}

.hoverableword{
color: white;
}

.hoverableword:hover{
    color: yellow;
}

.hoverableword:active{
    color: white;
}

.workentry img{
    width: 80%;
    margin-top: 2%;
}

p{
    margin-top: 0;
    margin-bottom: 0;
}

.workentry p {
    text-align: left;
    height: min-content;
margin-bottom: auto;}

.workentrysplit{
    display: flex;
    flex-direction: row;
    align-content: flex-start;
    justify-content: space-between;
    height:auto;
    width: 100%;
    column-gap: 3%;
    margin-top: 1.5%;
}

.workentry button{
    margin: 0;
    min-width: 100%;
}

.workyear{
    display: flex;
    flex-direction: row;
    column-gap: 3%;
}

.yearbox{
    text-align: center;
    writing-mode: vertical-lr;
    font-size:large;
    font-weight: bold;
    rotate: -180deg;
    outline-style:dashed;
    outline-width: 2px;
}


.propagandagrid{
    display: flex;
    flex-wrap: wrap;
    margin-top: .5em;
    width: 95%;
    justify-content: space-around;
    row-gap: 15px;
    align-items: center;
}

.propagandagrid img{
    max-height: 200px;
    margin: 1px;
}

.propagandagrid p{
    line-height: 0;
    margin-top: 7px;
}

.propagandaentry{
    margin: 2px;
}

.shopcontainer{
    display: flex;
    justify-content: center;
}

.product{
    display: flex;
    flex-direction: row;
    max-width: 100%;
    justify-content: center;
    margin-top: 12.5px;
}

.select{
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
}

.mattnselect{
position: relative;
}


.productimage{
    width: 100%;
}

.productpreview{
    max-width: 45%;
}

.productimagepicker{
    display: flex;
    width: 100%;
    height: 65px;
    padding: 1.5px;
    justify-content: flex-start;
    column-gap: 10px;
    overflow-x: scroll;
    overflow-y: visible;
    transform: translateX(-1.5px);
    margin-bottom: 0px;
    margin-top: 2.5px;
}

.productimagepickerthumbnail{
    height: 47.5px;
    width: 47.5px;
    min-width: 47.5px;
    object-fit: cover;
    object-position: 0 0px;
}


.productimagepickerthumbnail:hover{
    outline-color: yellow;
    cursor:pointer;
}

.productimagepickerthumbnail:active{
    outline-color: white;
}

.productinfo{
    margin-left: 30px;
    text-align: left;
}

.productinfo p,h1{
    text-align: left;
}

.productinfo h1{
    margin-bottom: 6px;
}


.productinfo ul{
    text-align: left;
    list-style:none;
    list-style-position: inside;
    margin-top: 5px;
    margin-bottom: 10px;
}

@keyframes starshoppeflicker{
    0%, 12%, 25%, 50%, 75%, 90%, 100%{filter: drop-shadow(0 0 10px #ffa71000);}
    2%, 14%, 27%, 55%, 77%, 92%{filter: drop-shadow(0 0 10px #ffa710c1);}
    }



@keyframes constructwiggle{
    0%,100%{transform: translate(.15px, -.3px);}
    20%{transform: translate(-.1px, .2px);}
    40%{transform: translate(.3px, .25px);}
    60%{transform: translate(-.2px,-.2px);}
    80%{transform: translate(.25px, .15px);}
}

.starshoppelogo{
    animation: starshoppeflicker .5s linear infinite alternate;
    filter: drop-shadow(0 0 10px #ffa710);
}

.constructlogo{
    animation: constructwiggle .2s linear infinite alternate;
}

.propheader{
    margin-top: .4em;
    margin-bottom: .1em;
    font-weight: bold; 
    font-size: 25px; 
    text-align: left;
}

.propagandaposter{
    display: flex;
    padding: 10px 0 10px 0;
    column-gap: 20px;
    row-gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    
    }

.propagandaposterinfo{
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    width: 100%;
    min-width: 250px;
    text-align: left;
    flex: 1 1;
}

.propagandaposter img{
width: 225px;
height: fit-content;
aspect-ratio: 8.5 / 11;
flex-basis: 0 0 200px;
}

.propagandaposter button{
    width: 100%;
    max-width: 100%;
    }

.propagandaposter h2{
    margin-top: 15px;
    margin-bottom: 15px;
    line-height: 0;
}

hr{
    color: white;
    border-style: solid;
}

.propagandapostertext{
    overflow: scroll;
    background-color: #000000;
}















































@media only screen and (max-width: 1100px) {

    body{
        height: auto;
        margin: auto;
    }

    .content{
        height: min-content;
        width: 100%;
    margin-top: 1vh;
    margin-bottom: 1vh;
    }

    aside{
    margin:0%;
    order: -2;
}

    iframe{
        width: 100%;
    }

    .firsthalf{
        order: 1;
        margin-bottom: 1.5vh;
    }

.buybutton{
    min-width: auto;
    width: 100%;
}

.productimagepicker{
    height: 75px;
}

.productinfo h1{
margin-top: -10px;
}

.productimagepickerthumbnail{
    height: 65px;
    width: 65px;
    min-width: 65px;
}

    main{
        order: 2;
    margin-right: auto;
    max-width: 650px;
    width: 80%;
    padding-bottom: 35px;
    height: min-content;
    margin-left: auto;
    margin-top: 0;
    }

    .secondhalf{
        order: 3;
    }


    button{
        width: 100%;
        min-width: auto;
    }

    .buttonlist{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        grid-column-gap: 10px;
        grid-auto-flow: column;
        margin: 2.5px 0 2.5px 0;
        width: 100%;
    }

    .workentryvideocontainer{
        width: 100%;
    }

    .workentrysplit p{
        margin: 3%;
    }

    .workentrysplit{
        height: auto;
        flex-direction: column;
    }

    .propagandagrid img{
        max-width: 100%;

    }
    .propagandaentry{
        margin: 0;
        max-width: 40%;
    }

    .propagandagrid{
        width: 100%;
    }


.workentry img{
    width: 100%;
    margin-top: 2%;
}

.yearbox{
    margin-right: 5px;
}

.product{
    flex-direction: column;
    align-items: center;
}

.productpreview{
    max-width: 90%;
}

.productinfo{
    width: 90%;
    margin-left: 0;
    margin-top: 20px;
}

.propagandamain{
    max-height: 475px
}

.aboutpage{
    justify-content: space-around;
}


/*
.propagandaposter{
    flex-direction: column;
    align-items: center;
}

.propagandaposter img{
    width: 50%;
    object-fit:scale-down;
    text-align: center;
    aspect-ratio: 8.5 / 11;

*/
}


::-webkit-scrollbar{
    width:10px;
    height:10px;
    background:transparent;
}

::-webkit-scrollbar-thumb{
    background:#ffffff35;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover{
    background:#ffffff50;
}
::-webkit-scrollbar-thumb:active{
    background:#ffffff65;
}

::-webkit-scrollbar-track{
    display:none;
}

::-webkit-scrollbar-track-piece{
    display:none;
}

::-webkit-scrollbar-corner{
    display:none;
}

::-webkit-scrollbar-button {
    display:none;
}